package com.whpost.service.dao.t;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whpost.service.entity.t.TDrpc;
import com.whpost.service.entity.t.TRole;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface TDrpcDao extends BaseMapper<TDrpc> {

    //获取业务描述
    @Select("select ywms from t_drpc where id=#{id}")
    String getYwms(@Param(value = "id") String id);

    //删除业务表的导入数据
    @Delete("delete from ${tableName} where drpc_id = #{zdz}")
    int delYwmx(@Param(value = "tableName") String tableName, @Param(value = "zdz") String zdz);

}